﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Dosimetria.Models.DataAnnotations_Classes.Authentication
{
    public class Login
    {
        [Display(Name = "Nombre de Usuario")]
        [Required(ErrorMessage="Ingrese nombre de usuario")]
        public string UsernName { get; set; }

        [Display(Name="Constraseña")]
        [Required(ErrorMessage="Ingrese contraseña")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

    }
}